
/*
 * Hlpay-Plus aggregate payment system. Copyright
 * (c) 2022-2023 Hlpay Team Copyright has the right of final interpretation.
 */
package com.hlkj.pay.infrastructure.model.admin;

import com.baomidou.mybatisplus.annotation.TableName;
import com.hlkj.framework.mybatis.core.dataobject.BaseDO;
import com.hlkj.pay.enums.AdminUserEnum;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
/**
 * @author HlpayTeam
 * @date 2024/09/06 9:36
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@TableName("t_admin_organization")
public class OrganizationDO extends BaseDO {
	private static final long serialVersionUID = -5134501217804867418L;

	/**
	 * 组织编码
	 */
	private String organizationCode;

	/**
	 * 组织名称
	 */
	private String organizationName;

	/**
	 * 父级组织code
	 */
	private String parentOrganizationCode;

	/**
	 * 类型 1 总部 99 门店
	 * @see AdminUserEnum.ORGANIZATION_TYPE
	 */
	private Integer type;
	/**
	 * 类型 1 总部 99 门店
	 * @see AdminUserEnum.ORGANIZATION_TYPE
	 */
	private Integer sysType;

	/**
	 * 状态 1 启用 0 停用
	 * @see AdminUserEnum.YES_NO_TYPE
	 */
	private Integer status;

	/**
	 * 排序
	 */
	private Integer sort;
	
	/**
	 * 联系方式
	 */
	private String contactInfo;
	
	/**
	 * 负责人
	 */
	private String principalName;
	@Schema(description = "商户编码")
	private String sn;
}

